import {observable,action,computed} from 'mobx'
import { ajax } from '../api';

class Anno{
    @observable annoList:any=null;

    @action getAnnoList=async()=>{
        let res=await ajax.annolist()
        res.code=200&&(this.annoList=res.result)
        
    }
    @action changeanno= (payload:any) =>{
        this.annoList = payload;
    }
}

export default new Anno() 